﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrintLabel.Tools
{
    public class ProcessHelper
    {
        public static Boolean CheckProsess()
        {
            Process[] pro = Process.GetProcesses();//获取已开启的所有进程
            return pro.Where(x => x.ProcessName == "PrintLabel").Count() > 1;
        }
    }
}
